import axios from 'axios'
axios.defaults.baseURL = 'http://192.168.4.93:7001'
axios.defaults.withCredentials = true;

class Http{
    static request({url,method='get',data={},params}){
        return axios({
            url,
            method,
            data,
            params
        })
    }
}
export default Http